sudo hciconfig
sudo hcitool con
sudo hcitool -i hci0 con
sudo hcitool -i hci1 con
sudo hcitool -i hci1 scan
sudo python .simple-agent.py hci0 00:12:A1:01:04:16
sudo hcitool info 00:12:A1:01:04:16
sudo hcitool con

------------------------------------------------------------------------
$ sudo hciconfig
hci0:   Type: USB
    BD Address: 00:09:DD:50:34:72 ACL MTU: 310:10 SCO MTU: 64:8
    UP RUNNING PSCAN
    RX bytes:2086 acl:1 sco:0 events:78 errors:0
    TX bytes:504 acl:1 sco:0 commands:43 errors:0

hci1:   Type: USB
    BD Address: 00:15:AF:F4:E9:E0 ACL MTU: 1021:8 SCO MTU: 64:1
    UP RUNNING PSCAN
    RX bytes:1327128 acl:81927 sco:0 events:1607 errors:0
    TX bytes:3603 acl:20 sco:0 commands:65 errors:0

$ sudo hcitool con
Connections:
    > ACL 00:07:61:8A:1A:AA handle 12 state 1 lm MASTER AUTH ENCRYPT
    > ACL 11:11:11:11:17:95 handle 11 state 1 lm MASTER

$ sudo hcitool -i hci0 con
Connections:

$ sudo hcitool -i hci1 con
Connections:
    > ACL 00:07:61:8A:1A:AA handle 12 state 1 lm MASTER AUTH ENCRYPT
    > ACL 11:11:11:11:17:95 handle 11 state 1 lm MASTER

$ sudo hcitool -i hci1 scan
Scanning ...
    00:12:A1:01:04:16   Bluetooth Mouse

$ sudo python .simple-agent.py hci1 00:12:A1:01:04:16
RequestPinCode (/org/bluez/2181/hci1/dev_00_12_A1_01_04_16)
Enter PIN Code: 0000
Release
New device (/org/bluez/2181/hci1/dev_00_12_A1_01_04_16)


$ sudo hcitool info 00:12:A1:01:04:16
Requesting information ...
    BD Address:  00:12:A1:01:04:16
    Device Name: Bluetooth Mouse
    LMP Version: 2.0 (0x3) LMP Subversion: 0x229
    Manufacturer: Broadcom Corporation (15)
    Features: 0xbc 0x02 0x04 0x38 0x08 0x00 0x00 0x00
        <encryption> <slot offset> <timing accuracy> <role switch>
        <sniff mode> <RSSI> <power control> <enhanced iscan>
        <interlaced iscan> <interlaced pscan> <AFH cap. slave>
